<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require_once 'vendor/autoload.php';


use Guzzle\Http\Client;


$client= new Client('serverip');

$item['published_at']=$item['published_at']->format(DATE_ATOM);

$requests[]=$client->post('/api/v1....',null,$item);


$client->send($requests);

